//Erstellt von Moritz Liepe
package main.simulation;

import main.IModuleControl;

public class SetControlValue implements Runnable 
{
	private IModuleControl moduleControl;
	private String value;
	
	public SetControlValue(IModuleControl moduleControl, String value)
	{
		super();
		this.moduleControl = moduleControl;
		this.value = value;
	}
	
	@Override
	public void run() 
	{
		this.moduleControl.setValue(value);
	}

}
